package com.sansui.blog.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.util.Date;

/**
 * @name: UserLoginLog
 * @author: Sansui
 * @Software: IDEA
 * @Blog: https://www.cnblogs.com/sansui6/
 * @date: 2022-03-18 23:00
 **/


/*用户登录日志*/
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
public class UserLoginLog {

    private Long id;    //	bigint	自增序号
    private String uid; //	varchar	用户id
    private String username;    //	varchar	用户名
    private String lastLoginIp; //	varchar	最后登录ip
    private Date lastLoginTime; //	datetime	登录时间
    private Date logoutTime; //退出登录时间

    private UserInfo userInfo;
    private User user;

}
